package com.hy.main.demo.controller;

import java.util.*;
import java.util.stream.Collectors;  

class CheckExceptionDto {  
    private String checkPointTitle;  
    private String checkResult;  

    public CheckExceptionDto(String checkPointTitle, String checkResult) {  
        this.checkPointTitle = checkPointTitle;  
        this.checkResult = checkResult;  
    }  

    public String getCheckPointTitle() {  
        return checkPointTitle;  
    }  

    public String getCheckResult() {  
        return checkResult;  
    }  
}  

class BusinessDetailsVo {  
    private Map<String, String> checkExceptionMap;  

    public void setCheckExceptionMap(Map<String, String> checkExceptionMap) {  
        this.checkExceptionMap = checkExceptionMap;  
    }  

    @Override  
    public String toString() {  
        return "BusinessDetailsVo{" +  
                "checkExceptionMap=" + checkExceptionMap +  
                '}';  
    }  
}  

public class Main {
    public static void main(String[] args) {
        // 原始数据字符串
        String data = "空调出风口及控制,空调出风口及控制,空调出风口及控制,制动液（刹车油）品质状态,空调出风口及控制,制动液（刹车油）品质状态";

        // 拆分字符串并直接存入 LinkedHashSet 以去重
        Set<String> uniqueItems = new LinkedHashSet<>(Arrays.asList(data.split(",")));

        // 将去重后的元素再次转换为字符串
        String result = String.join(",", uniqueItems);

        // 输出结果
        System.out.println(result);
    }
}